package service;

import dao.UserDao;
import domain.User;

public class loginservice
{
    UserDao userDao=new UserDao();

    public User login(String username,String password) {

        return userDao.findByUsernameAndPassword(username,password);
    }
}
